package com.jishuo.nontax.bean.vo;

import com.jishuo.nontax.bean.message.SetBankPosDetailDTO;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * pos表
 * 
 * @author hlp
 * @email 1459875748@qq.com
 * @date 2023-02-02 10:13:13
 */
@Data
public class BankPosVO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//流水号
	private String bankcheckid;
	//帐号
	private String accountnum;
	//帐户名称
	private String accountname;
	//入账日期
	private String accountdate;
	//入账时间
	private String accounttime;
	//借贷标记
	private Integer sign;
	//金额
	private BigDecimal money;
	//摘要
	private String summary;
	//对方帐号
	private String opaccountnum;
	//对方帐户名称
	private String opaccountname;
	//用途
	private Integer purpose;
	//附言
	private String postscript;
	//银行类别
	private String bankcls;
	//
	private Integer issend;
	//
	private Long messageid;
	//
	private String writedate;

	public SetBankPosDetailDTO getSetBankPosDetailDTO(){
        SetBankPosDetailDTO bean = new SetBankPosDetailDTO();
        bean.setAccountdate(this.accountdate);
        bean.setAccountname(this.accountname);
        bean.setAccounttime(this.accounttime);
        bean.setAccountnum(this.accountnum);
        bean.setBankcheckid(this.bankcheckid);
        bean.setMoney(this.money.toPlainString());
        bean.setOpaccountname(this.opaccountname);
        bean.setOpaccountnum(this.opaccountnum);
        bean.setPostscript(this.postscript);
        bean.setPurpose(this.purpose.toString());
        bean.setSign(this.sign.toString());
        bean.setSummary(this.summary);

        return bean;
    }


}
